package com.hxkj.service;


import com.alicp.jetcache.anno.CacheType;
import com.alicp.jetcache.anno.Cached;
import com.github.pagehelper.PageInfo;
import com.hxkj.domain.po.WebsiteAddr;
import com.platform.common.domain.result.ResultDataStruct;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.to.PageTo;

import java.util.List;

/**
 *  url规则配置
 * <p>
 * Created by yaosy on 2018年8月7日14:28:08
 */
public interface WebsiteAddrService {

    PageInfo<WebsiteAddr> getPages(WebsiteAddr website, PageTo pageParam) throws Exception;

    List<WebsiteAddr> getList(WebsiteAddr website) throws Exception;

    ResultDataStruct<WebsiteAddr> get(WebsiteAddr websiteAddr) throws Exception;

    ResultMessageStruct modifyWebsite(WebsiteAddr websiteAddr) throws Exception;

    ResultMessageStruct removeWebsite(WebsiteAddr websiteAddr) throws Exception;

    ResultMessageStruct saveWebsite(WebsiteAddr websiteAddr) throws Exception;
}
